<%--
  Created by IntelliJ IDEA.
  User: 祺诺
  Date: 2020/12/26
  Time: 20:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>查看学生</title>
</head>
<body>
    <table>
        <tr>
            <th>学生编号</th>
            <th>学生姓名</th>
            <th>学生年龄</th>
            <th>学生成绩</th>
        </tr>
        <c:forEach items="${list}" var="stu" varStatus="status">
            <tr>
                <td>${status.count}</td>
                <td>${stu.name}</td>
                <td>${stu.age}</td>
                <td>${stu.score}</td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>
